package cn.yitun.chat.yitunserverimbase.dao.common;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudDao;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.common.DictTypeDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.common.DictType;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.common.DictTypeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 字典类型表
 * @author admin
 * @email chen@163.com
 * @date 2019-02-15 09:16:13
 */
@Mapper
    public interface DictTypeDao extends CrudDao<DictTypeDto, DictType,DictTypeVo> {

	int absDel(Long id);

	int batchAbsDel(Long[] ids);

    DictType checkDictTypeUnique(@Param("type") String type);

    DictTypeVo getByType(@Param("type") String type);
}
